<div class="list">

    <!-- 没有限制上传数量  或者 最大限制存在时（count>=0）并且 曾经选的小于最大显示 并且 当前选的小于最大限制减去曾经选的-->

    <div :class="['add',{addDisabled : disabled}]" @click="openBox()" v-if="count<0 || (count>=0&&value.length<count)">
        <div>
            <i class="el-icon-picture-outline-round"></i>
            <div class="t">添加图片</div>
        </div>
    </div>
    <Draggable :class="'ul ' +(count<0 || (count>=0&&value.length<count))" tag="div" v-model="value" ghostClass="ghost"
        :animation="200" group="people">
        <div class="li" v-for="(item,index) in value" :key="index">
            <div class="mm">
                <slot :src="item" :index="index" name="item">
                    <img class="SelectResourcesImg" :src="item" />
                </slot>
                <div v-if="!disabled" class="del" @click="delSelectData(index)"><i class="el-icon-delete-solid"></i>
                </div>
            </div>
        </div>

    </Draggable>



</div>